import {observable, action} from "mobx-miniprogram"


export const orderStore = observable({
  // 存储的订单
  order: {},

  // 修改仓库订单
  updateOrder: action(function (order) {
    this.order = JSON.parse(JSON.stringify(order))
  })
})